[Top] [Prev] [Next] [Bottom]
[Contents]
SaGetenv
Gets the value of "CGI" variables. Use this instead of getenv for such values. It will work the same in all Sapphire application server deployment options.
#include "SaRnHtml.h"
char* SaGetenv SUTPROTO((char* str));
Arguments
- str
- String specifying the "CGI" variable to query for.
Return Values
Returns the value of the requested variable or NULL if the variable is not set. The returned value should not be modified or free'd.
Gets the value of "CGI" variables. Use this instead of getenv for such values. It will work the same in all Sapphire application server deployment options. The returned value should not be modified or free'd.
char* str;
str = SaGetenv("CONTENT_LENGTH");
The str variable will point to a string whose value is the "CGI" variable, CONTENT_LENGTH.
- Note: Do not free or modify the returned value.
See Also
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.